import About from "@/About.vue";
import Home from "@/Home.vue";
import { createRouter, createWebHashHistory } from "vue-router";

const routes = [
  { name: "home", path: "/", component: Home },
  { name: "about", path: "/about", component: About },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export { router };
